package cn.caixiong.org.mapper;

import cn.caixiong.org.domain.Employee;
import cn.caixiong.org.domain.Shop;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ShopMapper extends Mapper<Shop> {
    @Select("Select * from t_employee WHERE username = #{username} or phone = #{phone} or email = #{email};")
    List<Employee> selectOrusername(Employee admin);
}
